package com.iplay.service.notification.core;

import java.util.HashMap;
import java.util.Map;

import com.iplay.component.im.Message;

public class AbstractMessageWithExtra implements Message {
	protected final Map<String, String> extra = new HashMap<>();
	protected String body;

	public AbstractMessageWithExtra(String body) {
		this.body = body;
	}

	@Override
	public String getBody() {
		return body;
	}

	@Override
	public Map<String, String> getExtra() {
		return extra;
	}

}
